﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace IceDog.SSHConnection.LocalCommand.Models
{
    public class SSHClientInfo
    {
        [Display(Name = "IP 地址")]
        [StringLength(15)]
        [Required]
        public string IP { get; set; }
        [Display(Name = "接口")]
        public int Port { get; set; }
        [Display(Name = "用户名")]
        public string UserName { get; set; }
        [Display(Name = "密码")]
        public string Password { get; set; }
        [Display(Name = "命令行")]
        public string Command { get; set; }
        [Display(Name = "响应结果")]
        public string Response { get; set; }
    }
}
